---
- name: pull atomic-reactor image
  command: docker pull {{ atomic_reactor_pull.registry }}/{{ atomic_reactor_pull.image }}
  register: pull_image

- name: tag atomic-reactor image
  command: docker tag -f {{ atomic_reactor_pull.registry }}/{{ atomic_reactor_pull.image }} {{ atomic_reactor_tag }}
  when: pull_image.changed
